package com.wenfs.demo.service;

import com.wenfs.demo.entity.SysRole;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Set;

public interface ISysRole {

  Set<String> getRoleCodesByUserCode(String userCode);

  int save(SysRole role);

  void setStatus(Integer status,String roleCode);

  List<SysRole> findAll();

}
